/**
 * Created by 白雨浓 on 2018/1/17 21:19.
 */

export const template =`package <%= packageName %>.controller;

import <%= packageName %>.service.<%= clsName %>Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <%= packageName %>.controller
 *
 * @author <%= author %>
 * date: <%= date %>
 * content: controller
 */
@RestController
@RequestMapping("<%= url %>")
public class <%= clsName %>Controller {

    @Autowired
    private <%= clsName %>Service service;


}
`;